#ifndef DRAWER
#define DRAWER

// 调用windows的api进行绘画
#include <windows.h>
#include <tchar.h>
#include <vector>
#include <DirectXMath.h>
#include "../../include/mesh/mesh.hpp"
#include "../../include/device/device.hpp"

using namespace std;
using namespace DirectX;

namespace SoftEngine{

    class Drawer{
        public :
            static void drawDotPlane(vector<XMFLOAT2> alldot,HDC hdc);
            static void drawMesh(vector<XMFLOAT2> alldot,vector<Mesh> allMesh,HDC hdc);
            static void drawMeshColorful(vector<XMFLOAT2> alldot,vector<MeshColorful> allMesh,HDC hdc);
            static void drawPlaneColorful(vector<vector<DotColorful>> plane,HDC hdc);
    };


}

#endif